package com.guigu.vo;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

public class SubscribeListVO implements Serializable {

    private static final long serialVersionUID = -1007280793272981176L;

    @JsonFormat(
            pattern = "yyyy-MM-dd",
            timezone = "GMT+8"
    )
    private Date orderDate; // 预约日期
    private int id; // 档案号
    private String name; // 姓名
    private String phoneNumber; // 电话号码
    private String orderType; // 预约类型
    private String orderStatus; // 预约状态

    public Date getOrderDate() {
        return orderDate;
    }

    public void setOrderDate(Date orderDate) {
        this.orderDate = orderDate;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPhoneNumber() {
        return phoneNumber;
    }

    public void setPhoneNumber(String phoneNumber) {
        this.phoneNumber = phoneNumber;
    }

    public String getOrderType() {
        return orderType;
    }

    public void setOrderType(String orderType) {
        this.orderType = orderType;
    }

    public String getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(String orderStatus) {
        this.orderStatus = orderStatus;
    }

    @Override
    public String toString() {
        return "SubscribeListVO{" +
                "orderDate=" + orderDate +
                ", id=" + id +
                ", name='" + name + '\'' +
                ", phoneNumber='" + phoneNumber + '\'' +
                ", orderType='" + orderType + '\'' +
                ", orderStatus='" + orderStatus + '\'' +
                '}';
    }

    public SubscribeListVO(Date orderDate, int id, String name, String phoneNumber, String orderType, String orderStatus) {
        this.orderDate = orderDate;
        this.id = id;
        this.name = name;
        this.phoneNumber = phoneNumber;
        this.orderType = orderType;
        this.orderStatus = orderStatus;
    }

    public SubscribeListVO() {
    }
}
